<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<link rel="stylesheet" href="./Tpl/css/bootstrap.min.css">
	<style type="text/css">
/*	div{
		border: 1px solid red;
	}*/
	.nav-pills{
		margin: 0px auto;
	}
	.foot,.main{
		margin-top: 10px;
	}
	.col-md-12 .foot{
		width: 100%;
		height: 130px;
	}
	</style>
	<title>留言板</title>
</head>
<body>
<div class="col-md-12">
	<ul class="nav nav-pills">
  <li role="presentation" class="active"><a href="#">留言板</a></li>
  <li role="presentation"><a href="../index.php">返回首页</a></li>
  <li role="presentation"><a href="../login.php">登录界面</a></li>
</ul>
</div>

<div class="col-md-12 main">
<form class="form-inline" method="post" action="./edit.php">
	<div class="col-md-12">
		
  <div class="form-group">
    <label class="sr-only" for="exampleInputAmount">Amount (in dollars)</label>
    <div class="input-group">
      <div class="input-group-addon">用户名:</div>
      <input type="text" class="form-control" id="exampleInputAmount" value="<?php echo $row['username'] ?>" placeholder="Amount" name="username">
      <div class="input-group-addon">欢迎留言</div>
    </div>
  </div>
  <button type="submit" class="btn btn-primary">提交留言</button>

	<div class="col-md-12"><textarea class="form-control foot" rows="3" name="content"><?php echo $row['content'] ?></textarea></div>
	<input type="hidden" name="id" value="<?php echo $id; ?>">
</form>
</div>
</body>
</html>